﻿using NExt.Core.Model.Base;

namespace NExt.form
{
    public class FormPanel : FormPanel<FormPanelEvents>
    {
    }

    public abstract class FormPanel<TEvents>: Panel<TEvents>
        where TEvents : FormPanelEvents, new()
    {
        public string labelAlign { get; set; }
        public int? labelWidth { get; set; }
        public bool? monitorValid { get; set; }
    }

    public class FormPanelEvents: PanelEvents
    {
        public IScript clientvalidation { get; set; }
    }
}
